package cn.gemiman.daoyi.framework.operatelog.config;

import cn.gemiman.daoyi.framework.rpc.config.FeignClientsCondition;
import cn.gemiman.daoyi.module.system.api.logger.OperateLogApi;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Conditional;

/**
 * OperateLog 使用到 Feign 的配置项
 *
 * @author 道一源码
 */
@AutoConfiguration
@EnableFeignClients(clients = {OperateLogApi.class}) // 主要是引入相关的 API 服务
@Conditional({FeignClientsCondition.class})
public class DaoyiOperateLogV2RpcAutoConfiguration {
}
